package com.cjst.dao.mapper.sys;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.cjst.dao.mapper.base.BaseMapper;
import com.cjst.pojo.sys.SysRelation;

@Mapper
public interface SysRelationMapper extends BaseMapper<SysRelation, String>{
   /* int deleteByPrimaryKey(String id);

    int insert(SysRelation record);

    int insertSelective(SysRelation record);

    SysRelation selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(SysRelation record);

    int updateByPrimaryKey(SysRelation record);*/
    
    /**
     * 根据传入的角色ID，查询该角色拥有权限对应的url
     * @param roleid
     * @return
     */
    List<Map<String, Object>> getRoleIds(String roleid);
}